export default {
    title: {
        text: "",
        left: "left",
    },
    legend: {
        right: "top",
        textStyle: {
            color: "#FFF",
        },
    },
    grid: {
        left: "3%",
        right: "4%",
        bottom: "3%",
        containLabel: true,
    },
    xAxis: [
        {
            type: "category",
            data: [],
        },
    ],
    yAxis: [
        {
            type: "value",
        },
    ],
    series: [
        {
            name: "未开始",
            type: "bar",
            stack: "drill",
            label: {
                show: true,
                position: "inside",
                formatter: val => {
                    return `${val.seriesName}：${val.data}`;
                },
            },
            data: [],
        },
        {
            name: "演练中",
            type: "bar",
            stack: "drill",
            label: {
                show: true,
                position: "inside",
                formatter: val => {
                    return `${val.seriesName}：${val.data}`;
                },
            },
            data: [],
        },
        {
            name: "已结束",
            type: "bar",
            stack: "drill",
            label: {
                show: true,
                position: "inside",
                formatter: val => {
                    return `${val.seriesName}：${val.data}`;
                },
            },
            data: [],
        },
    ],
};
